﻿using Prism.Mvvm;

namespace NoteBook_Product.Models
{
    public class TaskBar : BindableBase
    {
        public TaskBar(string? icon, string? title, string? content, string? color, string? target)
        {
            Icon = icon;
            Title = title;
            Content = content;
            Color = color;
            Target = target;
        }

        /// <summary>
        /// 图标
        /// </summary>
        private string? icon;

        public string? Icon
        {
            get { return icon; }
            set { icon = value; RaisePropertyChanged(); }
        }

        /// <summary>
        /// 标题
        /// </summary>
        private string? title;

        public string? Title
        {
            get { return title; }
            set { title = value; RaisePropertyChanged(); }
        }

        /// <summary>
        /// 内容
        /// </summary>
        private string? content;

        public string? Content
        {
            get { return content; }
            set { content = value; RaisePropertyChanged(); }
        }

        /// <summary>
        /// 内容
        /// </summary>
        private string? color;

        public string? Color
        {
            get { return color; }
            set { color = value; RaisePropertyChanged(); }
        }

        /// <summary>
        /// 内容
        /// </summary>
        private string? target;

        public string? Target
        {
            get { return target; }
            set { target = value; RaisePropertyChanged(); }
        }

    }
}
